:root {
    --sidebar-width: 280px;
    --sidebar-bg: #233446;
    --sidebar-color: #ffffff;
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --header-height: 70px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
    overflow-x: hidden;
}

.admin-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--sidebar-color);
    position: fixed;
    height: 100vh;
    z-index: 1030;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.sidebar .components {
    padding: 1rem 0;
}

.sidebar ul {
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    list-style: none;
}

.sidebar ul li a {
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar ul li a:hover,
.sidebar ul li.active > a {
    background: rgba(255,255,255,0.05);
    color: white;
    border-left-color: var(--primary-color);
}

.sidebar ul li a i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 10px;
    text-align: center;
}

.sidebar ul ul {
    background: rgba(0,0,0,0.15);
}

.sidebar ul ul a {
    padding-left: 3.5rem;
    font-size: 0.9rem;
}

/* Content Area */
#content {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    background: #f8f9fa;
    transition: all 0.3s;
}

/* Top Navbar */
.top-navbar {
    background: white;
    height: var(--header-height);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Stats Cards */
.stat-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-card.bg-primary {
    background: linear-gradient(45deg, #4e73df, #3867d6) !important;
}

.stat-card.bg-success {
    background: linear-gradient(45deg, #1cc88a, #16a085) !important;
}

.stat-card.bg-warning {
    background: linear-gradient(45deg, #f6c23e, #f39c12) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: calc(var(--sidebar-width) * -1);
    }
    
    .sidebar.active {
        margin-left: 0;
    }
    
    #content {
        width: 100%;
        margin-left: 0;
    }
    
    #content.active {
        margin-left: var(--sidebar-width);
    }
} 